<template>
  <ant-modal modalWidth="1178" modalHeight="650" :visible="open" :modal-title="formTitle" :adjust-size="true" @cancel="cancel" :footer="null">
    <a-row slot="content">
      <approve-config :itemId="itemId" />
    </a-row>
  </ant-modal>
</template>

<script>
import AntModal from '@/components/pt/dialog/AntModal'
import ApproveConfig from '@views/platform/approveconfig/index'
export default {
  name: 'ApproveConfigTableModal',
  props: {
    itemId: {
      type: String,
      required: false
    }
  },
  components: {
    AntModal,
    ApproveConfig
  },
  data() {
    return {
      open: false,
      closeDialog: true,
      loading: false,
      disabled: false,
      formTitle: '审核配置',
      id: undefined
    }
  },
  filters: {},
  created() {},
  computed: {},
  watch: {},
  mounted() {},
  methods: {
    reset() {
      this.id = undefined
    },
    handleTable() {
      this.open = true
    },
    // 取消按钮
    cancel() {
      this.$emit('close')
      this.open = false
    }
  }
}
</script>

<style></style>
